package ro.savatech.pg.ui;

import java.awt.FlowLayout;

import javax.swing.JLabel;
import javax.swing.JPanel;

import ro.savatech.pg.flightlog.Flight;

@SuppressWarnings("serial")
public class FlightInfoPanel extends JPanel {
	private Flight flight;

	public FlightInfoPanel(Flight flight) {
		this.flight = flight;
		this.setLayout(new FlowLayout());
		this.add(new JLabel(this.flight.getEntry().toString()));
	}
}
